/**
 * Copyright 2019. Chongqing Communications Industry Services Co.,Ltd Information Technology Branch. All rights reserved.
 * <a href="http://www.chinaccs.com.cn/">重庆市通信服务产业有限公司</a>
 */

package com.spring.housing.returnType;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * TODO
 *
 * @author maozi create 2020-02-13 11:18
 */
@NoArgsConstructor
@Data
public class PageType<T> {

    private long totalNum;
    private int pageNo;
    private int pageSize;
    private T[] result;

    public PageType (int totalcount,int pageNo,int pageSize,T[] result){
        this.totalNum =totalcount;
      this.pageNo=pageNo;
      this.pageSize=pageSize;
      this.result=result;
    }


}
